package com.acxiom.foodreview.entity;

import java.util.List;

/**
 * Created by hadong on 2017-03-23. 分页实体
 */
public class Page<T> {

	private int total;
	private List<T> rows;

	public Page() {

	}

	public Page(int total, List<T> rows) {
		this.total = total;
		this.rows = rows;
	}

	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}

	public List<T> getRows() {
		return rows;
	}

	public void setRows(List<T> rows) {
		this.rows = rows;
	}

}
